package com.nhim.cms.admin.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;
import com.nhim.cms.admin.shared.NhimCMSAdminRequestFactory;

public class NhimCMSAdminTreeMenu extends Composite  {
	SimplePanel container;
	public NhimCMSAdminTreeMenu(NhimCMSAdminRequestFactory requestFactory) {
		container = new SimplePanel();
		initWidget(container);
	}

	public void add(Widget w) {
		clear();
		container.add(w);
		
	}

	public void clear() {
		container.clear();
	}

}
